package com.edu.order.service;

import com.edu.api.entity.common.ResponseDTO;
import com.edu.api.entity.order.PayOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.Date;

/**
 *
 */
public interface PayOrderService extends IService<PayOrder> {

    /**
     * 获取用户已购课程id集合
     * @param userId
     * @return
     */
    ResponseDTO getPayOrderIds(String userId);

    ResponseDTO insertPayOrder(String OrderNo, Integer userId, Integer productId, String productName,
                               BigDecimal amount,String currency, String channel, Byte status, String client_ip,
                               Date createTime,String goodsOrderNo);

}
